package cn.ht.jywrwater.module.ht.controller.admin.village.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.math.BigDecimal;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import javax.validation.constraints.*;

/**
 * 村庄 Base VO，提供给添加、修改、详细的子 VO 使用
 * 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
 */
@Data
public class VillageBaseVO {

    @Schema(description = "编号")
    private String villageCode;

    @Schema(description = "名称", example = "张三")
    private String villageName;

    @Schema(description = "地址描述")
    private String address;

    @Schema(description = "所属乡镇")
    private String townCode;

    @Schema(description = "供水站")
    private String waterStation;

    @Schema(description = "经度")
    private BigDecimal lat;

    @Schema(description = "纬度")
    private BigDecimal lng;

    @Schema(description = "负责人")
    private String personCharge;

    @Schema(description = "联系电话")
    private String customerTel;

    @Schema(description = "户数")
    private Integer household;

    @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "状态不能为空")
    private Byte useStatus;

    @Schema(description = "备注", example = "你说的对")
    private String remark;

}
